//package com.adee.java.nio;
//
//import java.io.IOException;
//import java.net.InetSocketAddress;
//import java.net.StandardSocketOptions;
//import java.nio.channels.SocketChannel;
//
///**
// * netty客户端阻塞读写
// */
//public class SelectorClientTest_Blocking {
//    public static void main(String[] args) throws IOException {
//        SocketChannel channel = SocketChannel.open();
//        channel.setOption(StandardSocketOptions.SO_REUSEADDR, true);
//        channel.setOption(StandardSocketOptions.SO_REUSEPORT, true);
//        channel.configureBlocking(true);
//        InetSocketAddress address = new InetSocketAddress("127.0.0.1", 9000);
//
//
//
//    }
//}
